Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup swagger spec and raml2swagger script #71

Merged
merged 10 commits into from
Feb 14, 2017

Conversation

robertlevy
Copy link
Contributor

tweaks to RAML and osprey config to enable clean conversion to swagger

added raml2swagger script so we can update the swagger spec whenever RAML gets changed (this is something we'll have to remember to do)

resolves #10

robertlevy added 6 commits February 13, 2017 17:29
…dator. some concepts we use in RAML don't translate over, at least not with this conversion tool. nothing significant though
…y a 'baseUri' to use for mocks/validation, strip out the domain name from what we've now specified in the raml baseUri field
@robertlevy robertlevy added this to the Sprint 1 milestone Feb 14, 2017
@npearce-kpmg
Copy link
Contributor

Nice.
Small thought: the project root is going to start getting cluttered with yaml/docker/scripts but not sure how to handle just yet.

@robertlevy
Copy link
Contributor Author

robertlevy commented Feb 14, 2017 via email

@robertlevy
Copy link
Contributor Author

@npearce-kpmg please take another look

DEVGUIDE.md Outdated
npm run raml2swagger
```

This task will process the /raml/api.v1.yaml and convert it to /swagger/api.v1.yaml.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should read: /raml/api.v1.raml

@robertlevy robertlevy merged commit c0be358 into master Feb 14, 2017
@robertlevy robertlevy deleted the ca-pqvp-10-raml-to-swagger-setup branch February 17, 2017 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Swagger API investigation and spin-up
3 participants